package com.shawny.model;

/**
 * Created by Shawn Wong on 2017/3/30.
 * Try you best !
 */
public class Notification {
    private String type;
    private String msg;
    private String playerId;

    public Notification(String type, String msg, String playerId) {
        this.type = type;
        this.msg = msg;
        this.playerId = playerId;
    }


    public Notification(String type, String msg) {
        this.type = type;
        this.msg = msg;
        this.playerId = "";
    }

    public String getType() {
        return type;
    }


    public String getMsg() {
        return msg;
    }



    public String getPlayerId() {
        return playerId;
    }


    @Override
    public String toString() {
        return "Notification{" +
                "type='" + type + '\'' +
                ", msg='" + msg + '\'' +
                ", playerId='" + playerId + '\'' +
                '}';
    }
}
